package com.danco.training.zaneuskaya.connection.dao;

import java.sql.Connection;
import java.util.List;

import com.danco.training.zaneuskaya.domain.Book;
import com.danco.training.zaneuskaya.domain.Claim;

public interface ClaimDao extends GenericDao<Claim, Integer> {

	public List<Claim> readClaimsByAlphabet(Connection connection);

	public List<Claim> readClaimsByClaimAmount(Connection connection);
	
	public boolean executeClaim (Connection connection, Claim object);
	
	public boolean deleteClaimByBook (Connection connection, Book book);
	
	public List<Claim> findClaimByBook (Connection connection, Book book);
}
